home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
timetrak.arc
/
TIMETRAK.DOC
< prev
Wrap
Text File
|
1987-06-25
|
3KB
|
70 lines
TITLE: CLOCK.COM
PURPOSE: Track elapsed time
DATE: 6/25/87
AUTHOR: Thomas A. Lundin
Graphics Unlimited Inc.
3000 2nd St. N.
Minneapolis, MN 55411
(612) 588-7571
DESCRIPTION: CLOCK allows you to track elapsed time. It works like Norton's
TimeMark utility by squirreling away a starting clock time in
an unused portion of memory when invoked, and then
interrogating that value to arrive at an elapsed time when
prompted to do so.
OPERATION: The command line invocation is:
clock in ─┘ -and-
clock out ─┘
CLOCK IN starts the timer.
CLOCK OUT displays the elapsed time since the last CLOCK IN,
which is also redisplayed.
CLOCK OUT Q displays the elapsed time with no redisplay of
the CLOCK IN value.
You may CLOCK OUT as many times as you want from a single CLOCK
IN. Be aware, however, that it is the accumulated elapsed time
which is displayed, and not split times. A new CLOCK IN will
restart the elapsed time count.
A record of elapsed times can be kept by redirecting the
output of the CLOCK OUT into a disk file (or even the
printer):
CLOCK OUT >>TIME.LOG
will append the elapsed time display to the disk file
"time.log" (note that two angle brackets indicate "append" as
opposed to "create").
NOTES: Elapsed time can extend to a minute short of 24 hours. A CLOCK
IN is stored until you reboot. The time is stored in the
interrupt vector locations normally used for CASSETTE BASIC
(INT 18H, addresses 60H-63H). So, if your DOS programs need
the CASSETTE BASIC interrupt vector, the CLOCK program won't
work. Or rather, your CASSETTE BASIC won't work, since I'm
wiping out the interrupt vector for it. Reboot.
DEBUG location 046AH contains the value of the starting address
where time is stored (036AH if you're using a file patcher).
It is 60H, which is the address of INT 18H; you may change it
to point to some other unused 4-byte area of memory if you need
to. (A suggestion is address 1CH, which is the vector location
of "unknown" INT 7.)
MACHINE: The program will run on any IBM PC/XT/AT series computer using
MS-DOS 2.x or higher, with a minimum of 128K RAM.
DISCLAIMER: This program is distributed as user-supported software. Use it,
copy it, give it to your friends. No warranties, either
expressed or implied, are given by the author or distributor of
the program, and the user accepts all risk of damage arising out
of the application and use of the program.
BEG: If you like the program, send a couple of bucks or some
unexpired fast food coupons (prefer Taco Bell or Zantigo) to me
at the address listed above.